<?php
/**友情链接查询数据库
 * Created by PhpStorm.
 * User: wuz
 * Date: 2016/8/26
 * Time: 22:42
 */
header("content-type:text/html;charset=utf-8");
include "../admin/Mysql/MySqlClass.php";
$link  = $mySQL->select("link");
?>
<p class="links">
        <?php foreach ($link as $row) {;?>
    <a href="<?php echo $row['linkUrl']; ?>"><?php echo $row['linkCompany'] . " "; ?></a>
<?php }
;?>
</p>